package com.yuexia.sell.dao;

import com.yuexia.sell.dataOjbect.OrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author itmrchen
 * @date 2018/7/11 0011 下午 1:51
 * @desc ctrate by YUE XIA
 */
public interface OrderDetailDao extends JpaRepository<OrderDetail,String> {

    List<OrderDetail> findByOrDetailId(String orderId);
    List<OrderDetail> findByOrderId(String orderId);
}
